#include"RBtree.h"
int main()
{
	int a[] = { 4,2,6,1,3,5,15,7,16,14 };
	RBTree<int, int>t;
	for (auto e : a)
	{
		t.insert(make_pair(e, e));
		cout << "Insert:" << e << "->" << t.IsBalance() << endl;
	}

	return 0;
}